<?php
//首页
Bic_Router::addRoute("/",array('controller'=>'Index','action'=>'Index'),array('id'=>''));

//服务项目
Bic_Router::addRoute("service",array('controller'=>'Service','action'=>'Display','suffix'=>false));

//新闻
Bic_Router::addRoute("news",array('controller'=>'News','action'=>'Lists','suffix'=>false));
Bic_Router::addRoute("news/page/:p",array('controller'=>'News','action'=>'Lists','suffix'=>false),array('p'=>'([0-9]*)'));
Bic_Router::addRoute("news-:id",array('controller'=>'News','action'=>'Detail','suffix'=>true),array('id'=>'([0-9]*)'));

//关于龙龟
Bic_Router::addRoute("about",array('controller'=>'About','action'=>'Display','suffix'=>false));

//服务项目
Bic_Router::addRoute("contact",array('controller'=>'Contact','action'=>'Display','suffix'=>false));

//项目赏析
Bic_Router::addRoute("case",array('controller'=>'Case','action'=>'Show','suffix'=>false));
Bic_Router::addRoute("case-:id",array('controller'=>'Case','action'=>'Show','suffix'=>true),array('id'=>'([0-9]*)'));
